package com.zeratul.common.satoken.codes;

import com.zeratul.common.core.result.codes.ResultCodes;
import lombok.Getter;

@Getter
public class AuthResultCodes extends ResultCodes {

    public AuthResultCodes(Integer code, String message) {
        super(code, message);
    }

    /**
     * 不存在的用户类型
     */
    public static final AuthResultCodes NOT_FOUND_USER_TYPE = new AuthResultCodes(12000, "不存在的用户类型");

    /**
     * 不存在的登录方式
     */
    public static final AuthResultCodes NOT_FOUND_LOGIN_TYPE = new AuthResultCodes(12001, "不存在的登录方式");

    /**
     * 禁止直接访问内网服务
     */
    public static final AuthResultCodes FORBIDDEN_INTERNAL_SERVICE = new AuthResultCodes(12002, "禁止直接访问内网服务");
}
